package com.xr.miniprogram.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xr.miniprogram.domain.MiniProgramMenu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.PathVariable;

@Mapper
public interface MiniProgramMenuMapper  extends BaseMapper<MiniProgramMenu> {
    boolean deleteMenu(@PathVariable("menu_id") Long menuId);

    boolean deleteByMenuId(@PathVariable("menu_id")Long menuId);
}
